package test;

import com.dxy.hms.dict.DictOption;

public enum RoomType implements DictOption {



    PRIVATE("1","私聊"),
    GROUP("2","群聊"),
    BROADCAST("3","广播")
    ;

    private String code;
    private String text;

    RoomType(String code, String text) {
        this.code = code;
        this.text = text;
    }

    @Override
    public String toCode() {
        return this.code;
    }

    @Override
    public String toText() {
        return this.text;
    }
}
